[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api021.nas"]

    GLOBAL _api_fopen

[SECTION .text]

_api_fopen:     ; int api_fopen(char *fname);
    push ebx
    mov edx, 21
    mov ebx, [esp+8]    ; fname
    int 40h
    pop ebx
    ret
